<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户信息</title>
	<#import "/common/import.ftl" as import>
    <@import.tableManagerImportCss/>
    <style>
    	.yico dt {
    		margin:5px;
    		padding-left:25px;
    	}
    	dd {
    		margin:10px;
    		padding-top: 5px;
    	}
    	.demo:after {
		    background-color: #F5F5F5;
		    border: 1px solid #DDDDDD;
		    border-radius: 4px 0 4px 0;
		    color: #9DA0A4;
		    content: "账户信息：";
		    font-size: 12px;
		    font-weight: bold;
		    left: -1px;
		    padding: 3px 7px;
		    position: absolute;
		    top: -1px;
		}
		.demo {
		    margin-left: 0px;
		    padding:40px 15px 0px;
		    border: 1px solid #DDDDDD;
		    border-radius: 4px;
		    position: relative;
		    word-wrap: break-word;
		}
    </style>
    <link href="${WEB_PATH}/resources/js/plugins/fancybox/jquery.fancybox.css" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="row">
        <div class="col-sm-12">
            <div class="wrapper wrapper-content animated fadeInUp">
                <div class="ibox">
                    <div class="ibox-content">
                      <div style="" class="demo ui-sortable">
                          <div class="row"> 
	                            <div class="col-sm-4">
	                                <div class="m-b-md"> 
	                                	<h2>
	                                    	用户类型：
	                                    	<#if USER.userType == "st" >
	                                    		省厅用户 
	                                    	<#elseif USER.userType == "dz" >
	                                    		地州用户
	                                    	<#elseif USER.userType == "jcjg" >
	                                    		检测机构用户
	                                    	</#if>
	                                    	
										</h2> 
	                                	<#if USER.userType == "dz" >
	                                		<h2>
	                                    		所属组织机构：${USER.organization.name}
											</h2>
	                                	<#elseif USER.userType == "jcjg" >
	                                		 <h2>
	                                    		所属检测机构：${USER.tsorganizationInfo.JYJGMC}
											</h2>
	                                	</#if> 
	                                    <h2>
	                                    	姓名：${USER.name}
										</h2>
										<h2>
	                                    	账户：${USER.account}
										</h2>
										<h2>
	                                    	手机号：${((USER.phone)?? && USER.phone != "")?string(USER.phone,'<span class="label label-danger" style="font-size: 18px;">无</span>')}
										</h2>
	                                </div>
	                            </div>
                            </div>
                        </div> 
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-1">
            <div class="wrapper wrapper-content project-manager" >
            	
            </div>
        </div>
        <div id="win_edit"></div>
    </div>
    <@import.tableManagerImportScript/>
	<script src="${WEB_PATH }/resources/js/plugins/fancybox/jquery.fancybox.js"></script>
	<script>
		$(function(){
			$(".fancybox").fancybox({openEffect:"none",closeEffect:"none"}); 
		});  
		function editName() {
			$("#win_edit").load("${WEB_PATH }/system/user/view/editname.do");
		}
		function editPhone() {
			$("#win_edit").load("${WEB_PATH }/system/user/view/editphone.do");
		}
	</script>
</body>

</html>